#include <game/server/gamecontroller.hpp>
#include <game/server/entity.hpp>

class GAMECONTROLLER_ZOMBIE : public GAMECONTROLLER
{
	int lives[16];
	int last_zombie;
	int tl;
public:
	
	GAMECONTROLLER_ZOMBIE();
//	virtual void tick();
	virtual int on_character_death(class CHARACTER *victim, class PLAYER *killer, int weapon);
	virtual const char *get_team_name(int);
	void startround();
	void do_team_score_wincheck();
	virtual void tick();
	virtual int do_pickup(class CHARACTER *chr , int type , int subtype);
	virtual void on_character_spawn(class CHARACTER *chr);
	//bool can_change_team(PLAYER *pplayer, int jointeam);
	virtual bool can_join_team(int team, int notthisid);
	bool check_team_balance();
	int get_auto_team(int notthisid);
	void do_player_score_wincheck(){};
	void snap(int snapping_client);
};
